package com.ruoyi.food.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


/**
 * 食物沽清
 *
 * @author Administrator
 * @date 2023/03/14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("t_food_sellout")
public class FoodSellout extends BaseEntity {

    /**
     *
     */
    @TableId
    private Long id;
    /**
     * 商户编号
     */
    private Long sellerId;
    /**
     * 菜品Id
     */
    private Long foodId;
    /**
     * 沽清类型 1按总数 2按周期
     */
    private Integer type;
    /**
     * 总数
     */
    private BigDecimal total;
    /**
     * 剩余
     */
    private BigDecimal last;
}
